package C;

/**
 * 狗
 */
public class Dog extends Canida{
    public Dog(String name,String color,int age){
        super(name,color,age);
    }

    /**
     * 忠诚
     */
    public void devoted(){
        System.out.println("狗非常的忠诚。");
    }
}
